Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes typo, renames client.php to Client.php #7

Merged
merged 1 commit into from Apr 21, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -74,13 +74,13 @@ class Client extends \SoapClient
* Constructor of the new object. Creates an instance of the new SoapClient.
* Sets default values of the timeouts and number of retries.
*
* @param sting $wsdl Url of the WebService's wsdl
* @param string $wsdl Url of the WebService's wsdl
* @param array $options PHP SoapClient's array of options
* @param int $negotiationTimeout Connection timeout in seconds. 0 to disable.
* @param int $persistanceFactor Number of retries.
* @param int $persistanceTimeout Read timeout in seconds. 0 to disable. null to use ini default_socket_timeout
*/
public function __construct($wsdl, $options, $negotiationTimeout = 0, $persistanceFactor = 1, $persistanceTimeout = null)
public function __construct($wsdl, $options = array(), $negotiationTimeout = 0, $persistanceFactor = 1, $persistanceTimeout = null)
{
if ($persistanceTimeout === null) {
//let us try default to default_socket_timeout